﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Alerts_Administration_2010.interfaces.views
{
    public interface IAlertDetailsView
    {
        event EventHandler<EventArgs> ChangeTypeChanged;
        event EventHandler<EventArgs> Canceled;
        event EventHandler<EventArgs> Confirmed;

        string AlertTitle { get; set; }
        string EmailAddress { get; set; }
        string ChangeType { get; set; }
        string Filter { get; set; }
        string Frequency { get; set; }
        string AlertDay { get; set; }
        string AlertHour { get; set; }

        bool ChangeTypeVisible { set; }
        bool DayEnabled { set; }
        bool HourEnabled { set; }

        void SetFilters(IEnumerable<string> filters);
        void SetChangeTypes(IEnumerable<string> changeTypes);
        void SetFrequencies(IEnumerable<string> frequencies);

        object Render();
    }
}
